package pattern.observer.userdefined.subject

import pattern.observer.userdefined.observer.Observer

/**
 * Created by root on 15-9-17.
 */
trait Subject {

  def registerObserver(o:Observer):Unit
  def removeObserver(o:Observer):Unit
  def notifyObservers():Unit
}
